<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
       
  <script>
          var arr = new Array()
          arr[0] ="10";
          arr[1] ="12";
          arr[2] ="13";
          arr[3] ="14";
          arr[4] ="15";
         for(var i=0;i<arr.length;i++)
         {
             console.log(arr[i])
         }
         console.log(arr.length)
  </script>



</body>
</html>